package com.sixth.bean.vo;

import com.sixth.util.DateUtils;
import lombok.Data;

import java.util.Date;

/**
 * @author ljh
 * @version 1.0
 * @describition:
 * @since 2022/9/7 19:45
 **/

@Data
public class IssueListInnerVO {
    private Integer id;

    private String question;

    private String answer;

    private String addTime;

    private String updateTime;

    private Boolean deleted;

    public void setAddTime(Date addTime) {
        this.addTime = DateUtils.getFormatDate(addTime);
    }
    public void setUpdateTime(Date updateTime) {
        this.addTime = DateUtils.getFormatDate(updateTime);
    }
}
